package com.finger.gulimall.product.feign;

import com.finger.common.to.SkuReductionTO;
import com.finger.common.to.SpuBoundsTO;
import com.finger.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-coupon")
public interface CouponRemoteService {
    @RequestMapping("/coupon/spubounds/save")
    public R saveSpuBounds(@RequestBody SpuBoundsTO spuBoundsTO);

    @RequestMapping("/coupon/skufullreduction/save")
    public R saveSkuReduction(@RequestBody SkuReductionTO skuReductionTO);
}
